package com.lxmes.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 出库待办任务对象 cc_chuku_sprw
 *
 * @author ruoyi
 * @date 2023-03-26
 */
public class CcChukuSprw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 审批人工号 */
    @Excel(name = "审批人工号")
    private Long spUserId;

    /** 审批人姓名 */
    @Excel(name = "审批人姓名")
    private String spUserName;

    /** 审批流编码 */
    @Excel(name = "审批流编码")
    private String spCode;

    /** 审批流名称 */
    @Excel(name = "审批流名称")
    private String spName;

    /** 审批节点 */
    @Excel(name = "审批节点")
    private String spSolt;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String spFlag;

    /** 是否审批完成 */
    @Excel(name = "是否审批完成")
    private String isSpwc;


    /** 审批建议 */
    @Excel(name = "审批建议")
    private String spRemark;
    /** 发起部门编号 */
    @Excel(name = "发起部门编号")
    private Long deptId;
    /** 发起用户编号 */
    @Excel(name = "发起用户编号")
    private Long userId;
    /** 发起用户姓名 */
    @Excel(name = "发起用户姓名")
    private String userName;
    //关联ID
    private Long glId;
    /** 单号 */
    @Excel(name = "单号")
    private String danhao;

    /** 订单类型 */
    @Excel(name = "订单类型")
    private String orderType;

    /** 物料分类 */
    @Excel(name = "物料分类")
    private String classId;
    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;
    /** 物料编号 */
    @Excel(name = "物料编号")
    private String itemCode;
    /** 物料子编号 */
    @Excel(name = "物料子编号")
    private String itemId;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String spec;

    /** 物料单位 */
    @Excel(name = "物料单位")
    private String unit;

    /** 托管标识 */
    @Excel(name = "托管标识")
    private String isTuoguan;

    /** 质量状态 */
    @Excel(name = "质量状态")
    private String qualityState;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String useState;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String stockId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String stockName;

    /** 库区编码 */
    @Excel(name = "库区编码")
    private String kuquCode;

    /** 库区名称 */
    @Excel(name = "库区名称")
    private String kuquName;

    /** 库位编码 */
    @Excel(name = "库位编码")
    private String kuweiCode;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    private Long supplyId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setSpUserId(Long spUserId)
    {
        this.spUserId = spUserId;
    }

    public Long getSpUserId()
    {
        return spUserId;
    }
    public void setSpUserName(String spUserName)
    {
        this.spUserName = spUserName;
    }

    public String getSpUserName()
    {
        return spUserName;
    }
    public void setSpCode(String spCode)
    {
        this.spCode = spCode;
    }

    public String getSpCode()
    {
        return spCode;
    }
    public void setSpName(String spName)
    {
        this.spName = spName;
    }

    public String getSpName()
    {
        return spName;
    }
    public void setSpSolt(String spSolt)
    {
        this.spSolt = spSolt;
    }

    public String getSpSolt()
    {
        return spSolt;
    }
    public void setSpFlag(String spFlag)
    {
        this.spFlag = spFlag;
    }

    public String getSpFlag()
    {
        return spFlag;
    }
    public void setIsSpwc(String isSpwc)
    {
        this.isSpwc = isSpwc;
    }

    public String getIsSpwc()
    {
        return isSpwc;
    }
    public void setSpRemark(String spRemark)
    {
        this.spRemark = spRemark;
    }

    public String getSpRemark()
    {
        return spRemark;
    }
    public void setOrderType(String orderType)
    {
        this.orderType = orderType;
    }

    public String getOrderType()
    {
        return orderType;
    }
    public void setClassId(String classId)
    {
        this.classId = classId;
    }

    public String getClassId()
    {
        return classId;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setItemId(String itemId)
    {
        this.itemId = itemId;
    }

    public String getItemId()
    {
        return itemId;
    }
    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }

    public String getItemCode()
    {
        return itemCode;
    }
    public void setSpec(String spec)
    {
        this.spec = spec;
    }

    public String getSpec()
    {
        return spec;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setIsTuoguan(String isTuoguan)
    {
        this.isTuoguan = isTuoguan;
    }

    public String getIsTuoguan()
    {
        return isTuoguan;
    }
    public void setQualityState(String qualityState)
    {
        this.qualityState = qualityState;
    }

    public String getQualityState()
    {
        return qualityState;
    }
    public void setUseState(String useState)
    {
        this.useState = useState;
    }

    public String getUseState()
    {
        return useState;
    }
    public void setStockId(String stockId)
    {
        this.stockId = stockId;
    }

    public String getStockId()
    {
        return stockId;
    }
    public void setStockName(String stockName)
    {
        this.stockName = stockName;
    }

    public String getStockName()
    {
        return stockName;
    }
    public void setKuquCode(String kuquCode)
    {
        this.kuquCode = kuquCode;
    }

    public String getKuquCode()
    {
        return kuquCode;
    }
    public void setKuquName(String kuquName)
    {
        this.kuquName = kuquName;
    }

    public String getKuquName()
    {
        return kuquName;
    }
    public void setKuweiCode(String kuweiCode)
    {
        this.kuweiCode = kuweiCode;
    }

    public String getKuweiCode()
    {
        return kuweiCode;
    }
    public void setSupplyId(Long supplyId)
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId()
    {
        return supplyId;
    }
    public void setSupplyName(String supplyName)
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName()
    {
        return supplyName;
    }

    public String getDanhao() {
        return danhao;
    }

    public void setDanhao(String danhao) {
        this.danhao = danhao;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getGlId() {
        return glId;
    }

    public void setGlId(Long glId) {
        this.glId = glId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("spUserId", getSpUserId())
            .append("spUserName", getSpUserName())
            .append("spCode", getSpCode())
            .append("spName", getSpName())
            .append("spSolt", getSpSolt())
            .append("spFlag", getSpFlag())
            .append("isSpwc", getIsSpwc())
            .append("spRemark", getSpRemark())
            .append("orderType", getOrderType())
            .append("classId", getClassId())
            .append("itemName", getItemName())
            .append("itemId", getItemId())
            .append("itemCode", getItemCode())
            .append("spec", getSpec())
            .append("unit", getUnit())
            .append("isTuoguan", getIsTuoguan())
            .append("qualityState", getQualityState())
            .append("useState", getUseState())
            .append("stockId", getStockId())
            .append("stockName", getStockName())
            .append("kuquCode", getKuquCode())
            .append("kuquName", getKuquName())
            .append("kuweiCode", getKuweiCode())
            .append("supplyId", getSupplyId())
            .append("supplyName", getSupplyName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
